def decorator(func):
    def inner(*args, **kwargs):
        print("这个是一个装饰器")
        res = func(*args, **kwargs)
        return res

    return inner
